package cn.lfzj.model;

public class Book {
	private int id;
	private String bookName;
	private String author;
	private String pub;
	private double price;

	public Book() {

	}

	public Book(int id, String bookName, String author, String pub, double price) {
		super();
		this.id = id;
		this.bookName = bookName;
		this.author = author;
		this.pub = pub;
		this.price = price;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPub() {
		return pub;
	}

	public void setPub(String pub) {
		this.pub = pub;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
}
